package render;
public class TraceResult {

    private boolean hit;
    private double distance;

    public boolean isHit() {
	return hit;
    }

    public void setHit( boolean hit ) {
	this.hit = hit;
    }

    public double getDistance() {
	return distance;
    }

    public void setDistance( double distance ) {
	this.distance = distance;
    }

    public TraceResult( boolean gotHit , double dist ) {
	hit = gotHit;
	distance = dist;
    }

}
